{% extends 'base.html' %}
{% block title %}{{ video.name }}{% endblock %}
{% block header %}
<!-- <a href="/videos/{{ slug }}" class="float-left">返回上一页</a> -->
<a href="javascript:;" role="button" onclick="back()">返回上一页</a>
<span class="float-right">{{ video.name }}--视频选集({{ video.count_video }})</span>
{% endblock %}
{% block content %}
<div class="row">
    {% for m in num %}
    <div class="col-1 mt-2 mb-2">
        <a href="/video/{{ video.link }}/{{ m }}" role="button" class="btn btn-outline-info btn-small btn-block">
            P{{ m }}
        </a>
    </div>
    {% endfor %}
</div>
{% endblock %}